ReadMe:

1- Run 01literature.R, which produces figures 1-4
2- Run 02ukraine_analysis.R, which produces figures 5-8
3- Download "Kao Revkin Retribution or Reconciliation AJPS 2021 Dataset.dta" from the harvard dataverse (link: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/0ONBF6)
4- Add the above file inside the "data" folder
5- Run 03iraq_analysis.R, which produces figures 9-10
6- Run 04ukraine_balance_table.R, which produces appendix table 



Folder Structure:
01literature.R
02ukraine_analysis.R
03iraq_analysis.R
04ukraine_balance_table.R
ReadMe.txt
data
figs
tabs

./data:
Transitional Justice Literature.xlsx
ukraine_final.csv

./figs:
authors_universities.pdf
irq_fig10.pdf
irq_fig9.pdf
justice_mechanism.pdf
method_time.pdf
study_country.pdf
ukr_fig5.pdf
ukr_fig6.pdf
ukr_fig7.pdf
ukr_fig8.pdf

./tabs:
balance_table.tex

Software:
R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.5.1

Loaded packages:
arsenal_3.6.3  patchwork_1.2.0  sjPlot_2.8.15  readstata13_0.10.1   texreg_1.38.6  estimatr_1.0.0  readxl_1.4.3  ggthemes_4.2.4  lubridate_1.9.2  forcats_1.0.0  stringr_1.5.1  dplyr_1.1.3  purrr_1.0.2  readr_2.1.4  tidyr_1.3.0  tibble_3.2.1  ggplot2_3.5.0  tidyverse_2.0.0  tidyselect_1.2.0  sjlabelled_1.2.0  farver_2.1.1  fastmap_1.1.1  bayestestR_0.13.1  sjstats_0.18.2  labelled_2.12.0  digest_0.6.33  estimability_1.4.1  timechange_0.2.0  lifecycle_1.0.4  magrittr_2.0.3  compiler_4.3.1  rlang_1.1.2  tools_4.3.1  utf8_1.2.4  knitr_1.43  labeling_0.4.3  summarytools_1.0.1  plyr_1.8.8  withr_2.5.2  grid_4.3.1  fansi_1.0.6  xtable_1.8-4  colorspace_2.1-0  emmeans_1.8.8  scales_1.3.0  MASS_7.3-60  insight_0.19.3  cli_3.6.2  mvtnorm_1.2-3  ragg_1.2.5  generics_0.1.3  rstudioapi_0.15.0  performance_0.10.4  modelr_0.1.11  httr_1.4.7  reshape2_1.4.4  tzdb_0.4.0  minqa_1.2.5  pander_0.6.5  splines_4.3.1  cellranger_1.1.0  matrixStats_1.0.0  base64enc_0.1-3  vctrs_0.6.5  boot_1.3-28.1  Matrix_1.6-1  hms_1.1.3  rapportools_1.1  Formula_1.2-5  systemfonts_1.0.4  magick_2.8.3  glue_1.6.2  nloptr_2.0.3  codetools_0.2-19    stringi_1.8.3  gtable_0.3.4  ggeffects_1.3.0  lme4_1.1-34  munsell_0.5.0  pillar_1.9.0  htmltools_0.5.6  R6_2.5.1  tcltk_4.3.1  textshaping_0.3.6  lattice_0.21-8  haven_2.5.3  backports_1.4.1  broom_1.0.5  pryr_0.1.6  Rcpp_1.0.11  coda_0.19-4  nlme_3.1-162  checkmate_2.2.0  xfun_0.40  sjmisc_2.8.9  pkgconfig_2.0.3  